package com.neu.credit.creditscore.entity;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author baomidou
 * @since 2025-06-17
 */
@Getter
@Setter
@Schema(description = "用户对象")
public class User {

    @Schema(description = "用户唯一标识符ID")
    private Long id;

    private String uuid;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "用户名，可更改")
    private String username;

    @Schema(description = "用户头像")
    private String profilePicture;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "性别：1.男；2.女")
    private String gender;

    @Schema(description = "省/自治区/直辖市（省级行政区）")
    private String province;

    @Schema(description = "市/区/县级市/自治州（地级行政区）")
    private String city;

    @Schema(description = "县/县级市/市辖区（县级行政区）")
    private String county;

    @Schema(description = "乡/镇/街道办（乡级行政区）")
    private String township;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
